package com.ktgj.other.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 专车订单退款对象 rc_order_refund
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
public class RcOrderRefund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long rcorderrefund;

    /** 第三方订单号 */
    @Excel(name = "第三方订单号")
    private String bussinessorderid;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderid;

    /** 申请退款人姓名 */
    @Excel(name = "申请退款人姓名")
    private String refundname;

    /** 申请退款人电话 */
    @Excel(name = "申请退款人电话")
    private Long tel;

    /** 应退金额 */
    @Excel(name = "应退金额")
    private BigDecimal refundableamount;

    /** 实退金额 */
    @Excel(name = "实退金额")
    private BigDecimal realrefundamount;

    /** 异常原因 */
    @Excel(name = "异常原因")
    private String exception;

    /** 退款状态：40 退款失败，50 退款中，55 退款完成 */
    @Excel(name = "退款状态：40 退款失败，50 退款中，55 退款完成")
    private Long refundstatus;

    /** 退款完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    public void setRcorderrefund(Long rcorderrefund) 
    {
        this.rcorderrefund = rcorderrefund;
    }

    public Long getRcorderrefund() 
    {
        return rcorderrefund;
    }
    public void setBussinessorderid(String bussinessorderid) 
    {
        this.bussinessorderid = bussinessorderid;
    }

    public String getBussinessorderid() 
    {
        return bussinessorderid;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setRefundname(String refundname) 
    {
        this.refundname = refundname;
    }

    public String getRefundname() 
    {
        return refundname;
    }
    public void setTel(Long tel) 
    {
        this.tel = tel;
    }

    public Long getTel() 
    {
        return tel;
    }
    public void setRefundableamount(BigDecimal refundableamount) 
    {
        this.refundableamount = refundableamount;
    }

    public BigDecimal getRefundableamount() 
    {
        return refundableamount;
    }
    public void setRealrefundamount(BigDecimal realrefundamount) 
    {
        this.realrefundamount = realrefundamount;
    }

    public BigDecimal getRealrefundamount() 
    {
        return realrefundamount;
    }
    public void setException(String exception) 
    {
        this.exception = exception;
    }

    public String getException() 
    {
        return exception;
    }
    public void setRefundstatus(Long refundstatus) 
    {
        this.refundstatus = refundstatus;
    }

    public Long getRefundstatus() 
    {
        return refundstatus;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rcorderrefund", getRcorderrefund())
            .append("bussinessorderid", getBussinessorderid())
            .append("orderid", getOrderid())
            .append("refundname", getRefundname())
            .append("tel", getTel())
            .append("refundableamount", getRefundableamount())
            .append("realrefundamount", getRealrefundamount())
            .append("exception", getException())
            .append("refundstatus", getRefundstatus())
            .append("createtime", getCreateTime())
            .append("endtime", getEndtime())
            .append("updatetime", getUpdateTime())
            .toString();
    }
}
